﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Icoders.MarketTracker.Core.MasterData
{
   public class Product : MasterEntityBase
    {
      
       [Required(ErrorMessage = "Name is Required")]
       public string Name { get; set; }
       public string Code { get; set; }
       public string Description { get; set; }
       [Required(ErrorMessage = "Client is Required")]
       public int ClientId { get; set; }
       public string ClientName{ get; set; }
       [Required(ErrorMessage = "Price is Required")]
       public decimal Price { get; set; }
       [Required(ErrorMessage = "Milles is Required")]
       public decimal Milles { get; set; }
       [Required(ErrorMessage = "Brand is Required")]
       public int ProductBrandId { get; set; }
    }
}
